<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="icon" th:href="@{https://v3.bootcss.com/favicon.ico}">
<title>用户分页</title>
<link th:href="@{/css/dashboard.css}" rel="stylesheet">
<link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">
<link th:href="@{/css/dashboard.css}" rel="stylesheet">
</head>

<body>

	<div th:insert="~{commons/commons::topbar}"></div>
	<div class="container-fluid">
		<div class="row">
			<div th:insert="~{commons/commons::sidebar(active = 'userpage.html')}"></div>


			<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
				<h1 class="page-header">添加用户</h1>

				<form th:action="@{/user/add}" method="post">
					<div class="form-group">
						<label for="1">用户名</label> <input type="text" class="form-control"
							name="lastName" id="1" placeholder="用户名">
					</div>

					<div class="form-group">
						<label for="b">Email</label> <input type="email"
							class="form-control" name="email" id="b" placeholder="Email">
					</div>

					
					<button type="submit" class="btn btn-default">添加</button>
					<a	class="btn btn-sm btn-primary"	th:href="@{/user/findAll}">返回</a>
				</form>
			</div>
		</div>

	</div>
</body>
</html>